projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f47f10
)
Make keymap-unset work
author
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 16 Nov 2021 18:41:56 +0000
(19:41 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 16 Nov 2021 18:42:09 +0000
(19:42 +0100)
* lisp/keymap.el (keymap-unset): Fix key syntax (bug#51897).
lisp/keymap.el
patch
|
blob
|
history
diff --git
a/lisp/keymap.el
b/lisp/keymap.el
index 8938197ecf0ba0013a972298034a490bb1ab2e3e..b634487ba61c2300563b1d73060c294f79d33b1a 100644
(file)
--- a/
lisp/keymap.el
+++ b/
lisp/keymap.el
@@
-119,7
+119,7
@@
a key in a child map, it will still shadow the same key in the
parent keymap. Removing the binding will allow the key in the
parent keymap to be used."
(keymap--check key)
- (define-key keymap
key
nil remove))
+ (define-key keymap
(key-parse key)
nil remove))
(defun keymap-substitute (olddef newdef keymap &optional oldmap prefix)
"Replace OLDDEF with NEWDEF for any keys in KEYMAP now defined as OLDDEF.